﻿using System;
namespace Gx.Model
{
    /// <summary>
    /// 兼职人员信息表
    /// </summary>
    [Serializable]
    public partial class C_PartTimeJobUserInfo
    {
        private int _parttimejobuserid;
        private string _parttimejobusername;
        private string _phonenum;
        private string _weixin;
        private string _zhifubao;
        private string _idcard;
        private string _homeaddress;
        private byte _sex;
        private DateTime _birthday;
        private string _email;
        private string _details;
        private byte _status;
        private int _adduser;
        private DateTime _addtime;
        private int _lastedituser;
        private DateTime _lastedittime;
        private int _parttimejobuserroleid;
        public int PartTimeJobUserId
        {
            get
            {
                return _parttimejobuserid;
            }
            set { _parttimejobuserid = value; }
        }
        public string PartTimeJobUserName
        {
            get
            {
                if (_parttimejobusername == null)
                {
                    return "";
                }
                return _parttimejobusername;
            }
            set { _parttimejobusername = value; }
        }
        public string PhoneNum
        {
            get
            {
                if (_phonenum == null)
                {
                    return "";
                }
                return _phonenum;
            }
            set { _phonenum = value; }
        }
        public string WeiXin
        {
            get
            {
                if (_weixin == null)
                {
                    return "";
                }
                return _weixin;
            }
            set { _weixin = value; }
        }
        public string ZhiFuBao
        {
            get
            {
                if (_zhifubao == null)
                {
                    return "";
                }
                return _zhifubao;
            }
            set { _zhifubao = value; }
        }
        public string IdCard
        {
            get
            {
                if (_idcard == null)
                {
                    return "";
                }
                return _idcard;
            }
            set { _idcard = value; }
        }
        public string HomeAddress
        {
            get
            {
                if (_homeaddress == null)
                {
                    return "";
                }
                return _homeaddress;
            }
            set { _homeaddress = value; }
        }
        public byte Sex
        {
            get
            {
                return _sex;
            }
            set { _sex = value; }
        }
        public DateTime Birthday
        {
            get
            {
                if (_birthday == DateTime.MinValue)
                {
                    return DateTime.Parse("1911-01-01");
                }
                return _birthday;
            }
            set { _birthday = value; }
        }
        public string Email
        {
            get
            {
                if (_email == null)
                {
                    return "";
                }
                return _email;
            }
            set { _email = value; }
        }
        public string Details
        {
            get
            {
                if (_details == null)
                {
                    return "";
                }
                return _details;
            }
            set { _details = value; }
        }
        public byte Status
        {
            get
            {
                return _status;
            }
            set { _status = value; }
        }
        public int AddUser
        {
            get
            {
                return _adduser;
            }
            set { _adduser = value; }
        }
        public DateTime AddTime
        {
            get
            {
                if (_addtime == DateTime.MinValue)
                {
                    return DateTime.Parse("1911-01-01");
                }
                return _addtime;
            }
            set { _addtime = value; }
        }
        public int LastEditUser
        {
            get
            {
                return _lastedituser;
            }
            set { _lastedituser = value; }
        }
        public DateTime LastEditTime
        {
            get
            {
                if (_lastedittime == DateTime.MinValue)
                {
                    return DateTime.Parse("1911-01-01");
                }
                return _lastedittime;
            }
            set { _lastedittime = value; }
        }
        public int PartTimeJobUserRoleId
        {
            get
            {
                return _parttimejobuserroleid;
            }
            set { _parttimejobuserroleid = value; }
        }
    }

    public partial class C_PartTimeJobUserInfo
    {
        public string PartTimeJobUserRoleName { get; set; }
    }
}
